package com.speech.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.widget.TextView;

import com.speech.R;
import com.speech.utils.ApkVersionUtil;
import com.speech.utils.TitleBuilder;

public class SettingActivity extends BaseActivity {

    private TextView tv;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_setting);
        _initView();

        tv.setText("v"+ApkVersionUtil.getVersionName(this));



    }

    private void _initView() {
        new TitleBuilder(this).setTitleText("设置");
        tv = findViewById(R.id.tv_setting_version);
    }
}
